package com.forenow.demo4;

public class Dog extends Pet{

    @Override
    public void toHosipital() {
        this.setHealth(60);
    }

    @Override
    public void eat() {
        System.out.println("1111111111111111");
    }
    public void run(){
        System.out.println("run......");
    }
}
